<div style="width:525px; margin-left:30px; background-color:#fff;">
  <div id="pages" style="padding:15px 20px 20px;">
  <form action="<?php e($this->base); ?>/albums/remove" method="post">
<p><div class="fLeft"><?php
echo $paginator->counter(array(
    'format' => __('Showing %start% - %end% of %count% gallery ', true)
));
?></div><div class="fRight"><a href="<?php e($this->base); ?>/images/upload/events">Add New Event</a></div>
<div class="clear"></div></p>
  <div style="width:550px; height:520px; overflow:auto; margin-top:5px; font-size:11px;">
    <table width="525" cellpadding="3" cellspacing="0" border="0">
<?php
foreach ($data as $g): ?>
      <tr>
        <td style="padding:10px 0;"><img src="<?php e($this->base); ?>/img/events/t_<?php e($g['Album']['filename']); ?>" /></td>
        <td>
          <div><span style="color:#000; font-size:12px;">Title:</span> <?php e($g['Album']['name']); ?></div>
          <div><span style="color:#000; font-size:12px;">Description:</span> <?php e(nl2br(substr($g['Album']['description'],0,150))); ?></div>
          <div><span style="color:#000; font-size:12px;">Total Photo:</span> <?php e($g['Album']['image_count']); ?></div>
          <div><span style="color:#000; font-size:12px;">Created:</span> <?php e($time->nice($g['Album']['created'])); ?></div>
          <div><span style="color:#000; font-size:12px;">Sort Order:</span> <input type="text" name="odr_<?php e($g['Album']['id']); ?>" value="<?php e($g['Album']['order']); ?>" style="width:30px;" /></div>
          <div style="text-align:left;">[ <a href="<?php e($this->base); ?>/images/upload/events/0/<?php e($g['Album']['id']); ?>">Edit</a> ]</div>
        </td>
        <td>
          <input type="checkbox" name="ids[]" value="<?php e($g['Album']['id']); ?>" />
        </td>
      </tr>
<?php endforeach; ?>
    </table>
  </div>
  <div class="paging" style="margin-top:5px;">
    <?php __('Page:');?>
    <?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled')); ?>
    <?php echo $paginator->numbers(); ?>
    <?php echo $paginator->next(__('next', true).' >>', array(), null, array('class'=>'disabled')); ?>
    <div class="fRight">
      <input type="submit" name="delete" value="Delete" />
      <input type="submit" name="update" value="Update" />
    </div>
  </div>
  <div class="clear"></div>
  </form>
  </div>
</div>